package cn.iocoder.yudao.module.aiposter.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotEmpty;

@Validated
@Data
@ConfigurationProperties(prefix = "cw.remote")
@Component
public class RemoteConfig {
    @Value("${vecHost:http://localhost:8083}")
    private String vecHost;

    @Value("${aiPosterUrl:http://10.178.13.79:7555}")
    private String aiPosterUrl;

    @Value("${aiSegmentationUrl:http://10.178.13.79:8559/aigc/seg_fg}")
    private String aiSegmentationUrl;

    @Value("${minioHost:http://10.128.172.93:52710}")
    private String minioHost;

    @Value("${minioKey:1y71OwYhuY3zqGA4eLhh}")
    private String minioKey;

    @Value("${minioSecret:MDO30v8GEOVS4XskDaQ43cAUl5sdlm7GjH0wCjx8}")
    private String minioSecret;
}
